home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2000 #5 / Amiga Plus CD - 2000 - No. 5.iso / Tools / Dev / GameboyDev / GBDK / include / sample.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-03-31  |  444 b   |  17 lines

  1. /*
  2.  * Playback raw sound sample with length len from start at 8192Hz rate.
  3.  * len defines the length of the sample in samples/32 or bytes/16.
  4.  * The format of the data is unsigned 4-bit samples,
  5.  * 2 samples per byte, upper 4-bits played before lower 4 bits.
  6.  *
  7.  * Adaption for GBDK by Lars Malmborg.
  8.  * Original code by Jeff Frohwein.
  9.  */
  10. #ifndef _SAMPLE_H
  11. #define _SAMPLE_H
  12.  
  13. void
  14. play_sample(UBYTE *start, UWORD len);
  15.  
  16. #endif /* _SAMPLE_H */
  17.